# -*- coding:UTF-8 -*-
"""
@Project : pythonProject
@File    : Python-J02.py
@IDE     : PyCharm
@Author  : WorldWind(1772830365@qq.com)
@Address : China - HeiLongjiang - Herbin
@Date    : 2025/7/7 下午9:44
"""
# 针对如下嵌套结构，如何获得iPad Air信息，显示在电脑屏幕上
nested_dict = {
    "shopping_cart": {
        "last_updated": "2025-05-31",
        "items": [
            {"product": "iPad Air", "price": 4799},
            {"product": "Apple Pencil", "price": 999}
        ]
    }
}
print(nested_dict['shopping_cart']['items'][0])